package com.lay.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 理赔信息表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Claimant implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报案单编号，主键，唯一
     */
    @TableId(value = "cl_id", type = IdType.AUTO)
    private Integer clId;

    /**
     * 报案车辆编号（车牌号）
     */
    private String cId;

    /**
     * 报案用户，外键
     */
    private Integer uId;

    /**
     * 保险编号
     */
    private Integer ciId;

    /**
     * 责任比率
     */
    private Double clType;

    /**
     * 事故责任免赔率
     */
    private Double sgzr;

    /**
     * 绝对免赔率之和
     */
    private Double jdmp;

    /**
     * 审核状态（0待审核，1合格，2不合格）
     */
    private Integer clState;

    /**
     * 审核人编号
     */
    private Integer unShenid;

    /**
     * 是否结算（0未结算，1已结算）
     */
    private Integer clJiesuan;

    /**
     * 死亡应赔金额
     */
    private BigDecimal clMoney;

    /**
     * 医疗应赔金额
     */
    private BigDecimal clMoney1;

    /**
     * 财产应赔金额
     */
    private BigDecimal clMoney2;

    /**
     * 应赔金额总和
     */
    private BigDecimal zonghe;

    /**
     * 从第三方获取的金额
     */
    private BigDecimal dsfMoney;

    /**
     * 车辆丢失状态（整体丢失，丢失找回---）
     */
    private String cldsType;

    /**
     * 详细信息表(存储的是用户报案信息表的文件名：以车牌号命名)
     */
    private String msgTable;

    /**
     * 添加人编号
     */
    private Integer unId;

    /**
     * 添加日期
     */
    @TableField(fill = FieldFill.INSERT)
    private Date clAddtime;


    public Integer getClId() {
        return clId;
    }

    public void setClId(Integer clId) {
        this.clId = clId;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getCiId() {
        return ciId;
    }

    public void setCiId(Integer ciId) {
        this.ciId = ciId;
    }

    public Double getClType() {
        return clType;
    }

    public void setClType(Double clType) {
        this.clType = clType;
    }

    public Double getSgzr() {
        return sgzr;
    }

    public void setSgzr(Double sgzr) {
        this.sgzr = sgzr;
    }

    public Double getJdmp() {
        return jdmp;
    }

    public void setJdmp(Double jdmp) {
        this.jdmp = jdmp;
    }

    public Integer getClState() {
        return clState;
    }

    public void setClState(Integer clState) {
        this.clState = clState;
    }

    public Integer getUnShenid() {
        return unShenid;
    }

    public void setUnShenid(Integer unShenid) {
        this.unShenid = unShenid;
    }

    public Integer getClJiesuan() {
        return clJiesuan;
    }

    public void setClJiesuan(Integer clJiesuan) {
        this.clJiesuan = clJiesuan;
    }

    public BigDecimal getClMoney() {
        return clMoney;
    }

    public void setClMoney(BigDecimal clMoney) {
        this.clMoney = clMoney;
    }

    public BigDecimal getClMoney1() {
        return clMoney1;
    }

    public void setClMoney1(BigDecimal clMoney1) {
        this.clMoney1 = clMoney1;
    }

    public BigDecimal getClMoney2() {
        return clMoney2;
    }

    public void setClMoney2(BigDecimal clMoney2) {
        this.clMoney2 = clMoney2;
    }

    public BigDecimal getZonghe() {
        return zonghe;
    }

    public void setZonghe(BigDecimal zonghe) {
        this.zonghe = zonghe;
    }

    public BigDecimal getDsfMoney() {
        return dsfMoney;
    }

    public void setDsfMoney(BigDecimal dsfMoney) {
        this.dsfMoney = dsfMoney;
    }

    public String getCldsType() {
        return cldsType;
    }

    public void setCldsType(String cldsType) {
        this.cldsType = cldsType;
    }

    public String getMsgTable() {
        return msgTable;
    }

    public void setMsgTable(String msgTable) {
        this.msgTable = msgTable;
    }

    public Integer getUnId() {
        return unId;
    }

    public void setUnId(Integer unId) {
        this.unId = unId;
    }

    public Date getClAddtime() {
        return clAddtime;
    }

    public void setClAddtime(Date clAddtime) {
        this.clAddtime = clAddtime;
    }

    @Override
    public String toString() {
        return "Claimant{" +
        "clId=" + clId +
        ", cId=" + cId +
        ", uId=" + uId +
        ", ciId=" + ciId +
        ", clType=" + clType +
        ", sgzr=" + sgzr +
        ", jdmp=" + jdmp +
        ", clState=" + clState +
        ", unShenid=" + unShenid +
        ", clJiesuan=" + clJiesuan +
        ", clMoney=" + clMoney +
        ", clMoney1=" + clMoney1 +
        ", clMoney2=" + clMoney2 +
        ", zonghe=" + zonghe +
        ", dsfMoney=" + dsfMoney +
        ", cldsType=" + cldsType +
        ", msgTable=" + msgTable +
        ", unId=" + unId +
        ", clAddtime=" + clAddtime +
        "}";
    }
}
